/*
 * Project: Hell Watch
 * Author: pajoke
 * Copyright: (C) 2014 Hell Prototypes
 * License: GNU GPL v3 (see License.txt)
 * Web: http://www.hellprototypes.com
 */

#ifndef BATTERY_H_
#define BATTERY_H_

#include "typedefs.h"

#define BAT_LOG_SIZE			240//10days

void battery_init(void);
void battery_update(void);
uint battery_voltage(void);
void battery_log_update(void);
bool battery_get_log(byte start, byte len, byte *read_buffer);

#endif /* BATTERY_H_ */